<!DOCTYPE html>
<!-- saved from url=(0076)http://docs.cocos.com/creator/manual/zh/publish/publish-android-instant.html -->
<html lang="zh-hans"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        
        
        <title>发布到 Google Play Instant · Cocos Creator</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <style class="anchorjs"></style><link rel="stylesheet" href="./index_files/style.css">

    
            
                
                <link rel="stylesheet" href="./index_files/search.css">
                
            
                
                <link rel="stylesheet" href="./index_files/splitter.css">
                
            
                
                <link rel="stylesheet" href="./index_files/expandable-chapters-small.css">
                
            
                
                <link rel="stylesheet" href="./index_files/website.css">
                
            
                
                <link rel="stylesheet" href="./index_files/website(1).css">
                
            
        

    

    
        
        <link rel="stylesheet" href="./index_files/website(2).css">
        
    

        
    
    
    <meta name="HandheldFriendly" content="true">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="http://docs.cocos.com/creator/manual/gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="http://docs.cocos.com/creator/manual/gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="http://docs.cocos.com/creator/manual/zh/publish/publish-alipay-mini-games.html">
    
    
    <link rel="prev" href="http://docs.cocos.com/creator/manual/zh/publish/publish-huawei-agc.html">
    

    </head>
    <body>
        
<div class="book without-animation with-summary font-size-2 font-family-1">
    <div class="book-summary" style="width: 300px; left: 0px; position: absolute;">
        
    <nav role="navigation" class="autoshow">
        <ul class="summary">
        <li><a href="https://cocos.com/" class="btn" target="_blank"><img src="./index_files/logo.png" height="30"></a></li>
        <li><a href="http://docs.cocos.com/creator/manual/zh/publish/publish-android-instant.html#" class="btn" onclick="toggleLanguage()">English</a></li>        
        
        
        <li class="version-link">
            <a href="http://docs.cocos.com/creator/manual/zh/publish/publish-android-instant.html#" class="btn" style="color:#444">Version: <span style="font-weight: bold; display: inline">2.4</span></a>
            <ul class="hovershow">
                
                <li><a href="https://docs.cocos.com/creator/3.1/manual/zh" class="btn">Version: <span style="font-weight:bold; display: inline">3.1</span></a></li>
                
                <li><a href="https://docs.cocos.com/creator/3.0/manual/zh" class="btn">Version: <span style="font-weight:bold; display: inline">3.0</span></a></li>
                
                <li><a href="https://docs.cocos.com/creator/2.4/manual/zh" class="btn">Version: <span style="font-weight:bold; display: inline">2.4</span></a></li>
                
                <li><a href="https://docs.cocos.com/creator/2.3/manual/zh" class="btn">Version: <span style="font-weight:bold; display: inline">2.3</span></a></li>
                
                <li><a href="https://docs.cocos.com/creator/2.2/manual/zh" class="btn">Version: <span style="font-weight:bold; display: inline">2.2</span></a></li>
                
                <li><a href="https://docs.cocos.com/creator/2.1/manual/zh" class="btn">Version: <span style="font-weight:bold; display: inline">2.1</span></a></li>
                
                <li><a href="https://docs.cocos.com/creator/2.0/manual/zh" class="btn">Version: <span style="font-weight:bold; display: inline">2.0</span></a></li>
                
                <li><a href="https://docs.cocos.com/creator/1.10/manual/zh" class="btn">Version: <span style="font-weight:bold; display: inline">1.10</span></a></li>
                
                <li><a href="https://docs.cocos.com/creator/1.9/manual/zh" class="btn">Version: <span style="font-weight:bold; display: inline">1.9</span></a></li>
                
            </ul>
        </li>                
        
                 
        
        
        <li>
            <a href="http://docs.cocos.com/creator/manual/zh/publish/publish-android-instant.html#" class="btn"><i class="fa fa-book"></i>Cocos Creator</a>
            <ul>
                
                <li><a href="https://docs.cocos.com/creator/2.4/manual/zh" class="btn">手册文档</a></li>
                
                <li><a href="https://docs.cocos.com/creator/2.4/api/zh" class="btn">API 参考</a></li>
                
            </ul>
        </li>                
        
    
        
        <li>
            <a href="http://docs.cocos.com/creator/manual/zh/publish/publish-android-instant.html#" class="btn"><i class="fa fa-book"></i>Cocos Creator 3D</a>
            <ul>
                
                <li><a href="https://docs.cocos.com/creator3d/manual/zh" class="btn">手册文档</a></li>
                
                <li><a href="https://docs.cocos.com/creator3d/api/zh" class="btn">API 参考</a></li>
                
            </ul>
        </li>                
        
    
        
        <li>
            <a href="http://docs.cocos.com/creator/manual/zh/publish/publish-android-instant.html#" class="btn"><i class="fa fa-book"></i>Cocos2d-x</a>
            <ul>
                
                <li><a href="https://docs.cocos.com/cocos2d-x/manual/zh" class="btn">手册文档</a></li>
                
                <li><a href="http://docs.cocos2d-x.org/api-ref/index.html" class="btn">API 参考</a></li>
                
            </ul>
        </li>                
        
          
        </ul>
    </nav>
    
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索">
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        <li class="header">新手入门</li>
        
        
    
        <li class="chapter" data-level="1.1" data-path="../">
            
                <a href="http://docs.cocos.com/creator/manual/zh/">
            
                    
                    Introduction
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="1.2" data-path="../getting-started/">
            
                <a href="http://docs.cocos.com/creator/manual/zh/getting-started/">
            
                    
                    新手上路
            
                <i class="exc-trigger fa"></i></a>
            

            
            <ul class="articles">
                
    
        <li class="chapter" data-level="1.2.1" data-path="../getting-started/introduction.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/getting-started/introduction.html">
            
                    
                    关于 Cocos Creator
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="1.2.2" data-path="../getting-started/install.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/getting-started/install.html">
            
                    
                    安装和启动
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="1.2.3" data-path="../getting-started/dashboard.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/getting-started/dashboard.html">
            
                    
                    使用 Dashboard
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="1.2.4" data-path="../getting-started/hello-world.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/getting-started/hello-world.html">
            
                    
                    Hello World!
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="1.2.5" data-path="../getting-started/project-structure.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/getting-started/project-structure.html">
            
                    
                    项目结构
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="1.2.6" data-path="../getting-started/basics/editor-overview.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/getting-started/basics/editor-overview.html">
            
                    
                    编辑器基础
            
                <i class="exc-trigger fa"></i></a>
            

            
            <ul class="articles">
                
    
        <li class="chapter" data-level="1.2.6.1" data-path="../getting-started/basics/editor-panels/assets.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/getting-started/basics/editor-panels/assets.html">
            
                    
                    资源管理器
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="1.2.6.2" data-path="../getting-started/basics/editor-panels/scene.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/getting-started/basics/editor-panels/scene.html">
            
                    
                    场景编辑器
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="1.2.6.3" data-path="../getting-started/basics/editor-panels/node-tree.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/getting-started/basics/editor-panels/node-tree.html">
            
                    
                    层级管理器
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="1.2.6.4" data-path="../getting-started/basics/editor-panels/properties.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/getting-started/basics/editor-panels/properties.html">
            
                    
                    属性检查器
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="1.2.6.5" data-path="../getting-started/basics/editor-panels/node-library.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/getting-started/basics/editor-panels/node-library.html">
            
                    
                    控件库
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="1.2.6.6" data-path="../getting-started/basics/editor-panels/console.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/getting-started/basics/editor-panels/console.html">
            
                    
                    控制台
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="1.2.6.7" data-path="../getting-started/basics/editor-panels/preferences.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/getting-started/basics/editor-panels/preferences.html">
            
                    
                    设置
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="1.2.6.8" data-path="../getting-started/basics/editor-panels/project-settings.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/getting-started/basics/editor-panels/project-settings.html">
            
                    
                    项目设置
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="1.2.6.9" data-path="../getting-started/basics/main-menu.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/getting-started/basics/main-menu.html">
            
                    
                    主菜单
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="1.2.6.10" data-path="../getting-started/basics/toolbar.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/getting-started/basics/toolbar.html">
            
                    
                    工具栏
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="1.2.6.11" data-path="../getting-started/basics/layout.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/getting-started/basics/layout.html">
            
                    
                    编辑器布局
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="1.2.6.12" data-path="../getting-started/basics/preview-build.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/getting-started/basics/preview-build.html">
            
                    
                    构建预览
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter" data-level="1.2.7" data-path="../getting-started/coding-setup.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/getting-started/coding-setup.html">
            
                    
                    代码编辑环境配置
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="1.2.8" data-path="../getting-started/quick-start.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/getting-started/quick-start.html">
            
                    
                    快速上手：制作第一个游戏
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="1.2.9" data-path="../getting-started/cocos2d-x-guide.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/getting-started/cocos2d-x-guide.html">
            
                    
                    Cocos2d-x 用户上手指南
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="1.2.10" data-path="../getting-started/support.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/getting-started/support.html">
            
                    
                    获取帮助和支持
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="1.2.11" data-path="../release-notes/">
            
                <a href="http://docs.cocos.com/creator/manual/zh/release-notes/">
            
                    
                    升级指南
            
                <i class="exc-trigger fa"></i></a>
            

            
            <ul class="articles">
                
    
        <li class="chapter" data-level="1.2.11.1" data-path="../release-notes/asset-manager-upgrade-guide.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/release-notes/asset-manager-upgrade-guide.html">
            
                    
                    v2.4 资源管理模块升级指南
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="1.2.11.2" data-path="../release-notes/subpackage-upgrade-guide.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/release-notes/subpackage-upgrade-guide.html">
            
                    
                    v2.4 资源分包升级指南
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="1.2.11.3" data-path="../release-notes/build-extend-upgrade-guide.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/release-notes/build-extend-upgrade-guide.html">
            
                    
                    v2.4 定制项目构建流程升级指南
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="1.2.11.4" data-path="../release-notes/upgrade-guide-v2.0.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/release-notes/upgrade-guide-v2.0.html">
            
                    
                    v2.0 升级指南
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="1.2.11.5" data-path="../release-notes/raw-asset-migration.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/release-notes/raw-asset-migration.html">
            
                    
                    v1.10 资源升级指南
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter" data-level="1.2.12" data-path="../getting-started/faq.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/getting-started/faq.html">
            
                    
                    FAQ
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    
        
        <li class="header">基本工作流程</li>
        
        
    
        <li class="chapter" data-level="2.1" data-path="../asset-workflow/">
            
                <a href="http://docs.cocos.com/creator/manual/zh/asset-workflow/">
            
                    
                    资源工作流程
            
                <i class="exc-trigger fa"></i></a>
            

            
            <ul class="articles">
                
    
        <li class="chapter" data-level="2.1.1" data-path="../asset-workflow/scene-managing.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/asset-workflow/scene-managing.html">
            
                    
                    创建和管理场景
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.1.2" data-path="../asset-workflow/sprite.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/asset-workflow/sprite.html">
            
                    
                    贴图资源
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.1.3" data-path="../asset-workflow/prefab.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/asset-workflow/prefab.html">
            
                    
                    预制资源
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.1.4" data-path="../asset-workflow/atlas.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/asset-workflow/atlas.html">
            
                    
                    图集资源
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.1.5" data-path="../asset-workflow/auto-atlas.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/asset-workflow/auto-atlas.html">
            
                    
                    自动图集资源
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.1.6" data-path="../asset-workflow/compress-texture.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/asset-workflow/compress-texture.html">
            
                    
                    压缩纹理
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.1.7" data-path="../asset-workflow/label-atlas.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/asset-workflow/label-atlas.html">
            
                    
                    艺术数字资源
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.1.8" data-path="../asset-workflow/import-export.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/asset-workflow/import-export.html">
            
                    
                    跨项目导入导出资源
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.1.9" data-path="../asset-workflow/trim.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/asset-workflow/trim.html">
            
                    
                    图像资源的自动剪裁
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.1.10" data-path="../asset-workflow/script.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/asset-workflow/script.html">
            
                    
                    脚本资源
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.1.11" data-path="../asset-workflow/font.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/asset-workflow/font.html">
            
                    
                    字体资源
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.1.12" data-path="../asset-workflow/particle.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/asset-workflow/particle.html">
            
                    
                    粒子资源
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.1.13" data-path="../asset-workflow/audio-asset.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/asset-workflow/audio-asset.html">
            
                    
                    声音资源
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.1.14" data-path="../asset-workflow/spine.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/asset-workflow/spine.html">
            
                    
                    Spine 骨骼动画资源
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.1.15" data-path="../asset-workflow/dragonbones.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/asset-workflow/dragonbones.html">
            
                    
                    DragonBones 骨骼动画资源
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.1.16" data-path="../asset-workflow/tiledmap.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/asset-workflow/tiledmap.html">
            
                    
                    瓦片图资源
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.1.17" data-path="../asset-workflow/json.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/asset-workflow/json.html">
            
                    
                    JSON 资源
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.1.18" data-path="../asset-workflow/text.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/asset-workflow/text.html">
            
                    
                    文本资源
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.1.19" data-path="../asset-workflow/project-import.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/asset-workflow/project-import.html">
            
                    
                    导入其他编辑器项目
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter" data-level="2.2" data-path="../content-workflow/">
            
                <a href="http://docs.cocos.com/creator/manual/zh/content-workflow/">
            
                    
                    场景制作工作流程
            
                <i class="exc-trigger fa"></i></a>
            

            
            <ul class="articles">
                
    
        <li class="chapter" data-level="2.2.1" data-path="../content-workflow/node-component.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/content-workflow/node-component.html">
            
                    
                    节点和组件
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.2.2" data-path="../content-workflow/transform.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/content-workflow/transform.html">
            
                    
                    坐标系和变换
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.2.3" data-path="../content-workflow/node-tree.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/content-workflow/node-tree.html">
            
                    
                    管理节点层级和显示顺序
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.2.4" data-path="../content-workflow/scene-editing.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/content-workflow/scene-editing.html">
            
                    
                    使用场景编辑器搭建场景图像
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.2.5" data-path="../content-workflow/camera-config.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/content-workflow/camera-config.html">
            
                    
                    场景摄像机配置面板
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter" data-level="2.3" data-path="../scripting/">
            
                <a href="http://docs.cocos.com/creator/manual/zh/scripting/">
            
                    
                    脚本开发指南
            
                <i class="exc-trigger fa"></i></a>
            

            
            <ul class="articles">
                
    
        <li class="chapter" data-level="2.3.1" data-path="../scripting/use-component.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/scripting/use-component.html">
            
                    
                    创建和使用组件脚本
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.3.2" data-path="../scripting/class.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/scripting/class.html">
            
                    
                    使用 cc.Class 声明类型
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.3.3" data-path="../scripting/access-node-component.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/scripting/access-node-component.html">
            
                    
                    访问节点和其他组件
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.3.4" data-path="../scripting/basic-node-api.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/scripting/basic-node-api.html">
            
                    
                    常用节点和组件接口
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.3.5" data-path="../scripting/life-cycle-callbacks.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/scripting/life-cycle-callbacks.html">
            
                    
                    生命周期回调
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.3.6" data-path="../scripting/create-destroy.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/scripting/create-destroy.html">
            
                    
                    创建和销毁节点
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.3.7" data-path="../scripting/scene-managing.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/scripting/scene-managing.html">
            
                    
                    加载和切换场景
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.3.8" data-path="../scripting/load-assets.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/scripting/load-assets.html">
            
                    
                    获取和设置资源
            
                <i class="exc-trigger fa"></i></a>
            

            
            <ul class="articles">
                
    
        <li class="chapter" data-level="2.3.8.1" data-path="../scripting/dynamic-load-resources.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/scripting/dynamic-load-resources.html">
            
                    
                    加载资源
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.3.8.2" data-path="../scripting/asset-bundle.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/scripting/asset-bundle.html">
            
                    
                    配置和加载 Asset Bundle
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter" data-level="2.3.9" data-path="../scripting/events.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/scripting/events.html">
            
                    
                    发射和监听事件
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.3.10" data-path="../scripting/internal-events.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/scripting/internal-events.html">
            
                    
                    系统内置事件
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.3.11" data-path="../scripting/player-controls.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/scripting/player-controls.html">
            
                    
                    玩家输入事件
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.3.12" data-path="../scripting/tween.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/scripting/tween.html">
            
                    
                    使用缓动系统
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.3.13" data-path="../scripting/actions.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/scripting/actions.html">
            
                    
                    使用动作系统
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.3.14" data-path="../scripting/scheduler.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/scripting/scheduler.html">
            
                    
                    使用计时器
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.3.15" data-path="../scripting/execution-order.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/scripting/execution-order.html">
            
                    
                    脚本执行顺序
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.3.16" data-path="../scripting/network.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/scripting/network.html">
            
                    
                    网络接口
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.3.17" data-path="../scripting/pooling.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/scripting/pooling.html">
            
                    
                    使用对象池
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.3.18" data-path="../scripting/modular-script.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/scripting/modular-script.html">
            
                    
                    模块化脚本
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.3.19" data-path="../scripting/plugin-scripts.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/scripting/plugin-scripts.html">
            
                    
                    插件脚本
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.3.20" data-path="../scripting/javascript-primer.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/scripting/javascript-primer.html">
            
                    
                    JavaScript 快速入门
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.3.21" data-path="../scripting/typescript.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/scripting/typescript.html">
            
                    
                    使用 TypeScript 脚本
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.3.22" data-path="../scripting/reference/class.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/scripting/reference/class.html">
            
                    
                    CCClass 进阶参考
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.3.23" data-path="../scripting/reference/attributes.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/scripting/reference/attributes.html">
            
                    
                    属性参数参考
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter" data-level="2.4">
            
                <a target="_blank" href="https://service.cocos.com/document/zh/">
            
                    
                    一键接入第三方服务
            
                <i class="exc-trigger fa"></i></a>
            

            
            <ul class="articles">
                
    
        <li class="chapter" data-level="2.4.1">
            
                <a target="_blank" href="https://service.cocos.com/document/zh/">
            
                    
                    Cocos Service 简介
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.4.2">
            
                <a target="_blank" href="https://service.cocos.com/document/zh/user-guide.html">
            
                    
                    服务面板操作指南
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.4.3">
            
                <a target="_blank" href="https://service.cocos.com/document/zh/billing-and-charge.html">
            
                    
                    计费和充值
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.4.4">
            
                <a target="_blank" href="https://service.cocos.com/document/zh/#%E6%94%AF%E6%8C%81%E6%9C%8D%E5%8A%A1">
            
                    
                    服务列表
            
                <i class="exc-trigger fa"></i></a>
            

            
            <ul class="articles">
                
    
        <li class="chapter" data-level="2.4.4.1">
            
                <a target="_blank" href="https://service.cocos.com/document/zh/cocos-analytics.html">
            
                    
                    Cocos Analytics
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.4.4.2">
            
                <a target="_blank" href="https://service.cocos.com/document/zh/agora.html">
            
                    
                    声网（Agora RTC）
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.4.4.3">
            
                <a target="_blank" href="https://service.cocos.com/document/zh/tcb.html">
            
                    
                    云开发（腾讯云）
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.4.4.4">
            
                <a target="_blank" href="https://service.cocos.com/document/zh/mgobe.html">
            
                    
                    游戏联机对战引擎（腾讯云）
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.4.4.5">
            
                <a target="_blank" href="https://service.cocos.com/document/zh/gme.html">
            
                    
                    游戏多媒体引擎（腾讯云）
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.4.4.6">
            
                <a target="_blank" href="https://service.cocos.com/document/zh/hms-location.html">
            
                    
                    定位服务（HMS Core）
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.4.4.7">
            
                <a target="_blank" href="https://service.cocos.com/document/zh/hms-analytics.html">
            
                    
                    分析服务（HMS Core）
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.4.4.8">
            
                <a target="_blank" href="https://service.cocos.com/document/zh/agc-apm.html">
            
                    
                    性能管理（AGC）
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.4.4.9">
            
                <a target="_blank" href="https://service.cocos.com/document/zh/agc-auth.html">
            
                    
                    认证服务（AGC）
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.4.4.10">
            
                <a target="_blank" href="https://service.cocos.com/document/zh/agc-crash.html">
            
                    
                    崩溃服务（AGC）
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.4.4.11">
            
                <a target="_blank" href="https://service.cocos.com/document/zh/agc-remote.html">
            
                    
                    远程配置（AGC）
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.4.4.12">
            
                <a target="_blank" href="https://service.cocos.com/document/zh/agc-appmessaging.html">
            
                    
                    应用内消息（AGC）
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.4.4.13">
            
                <a target="_blank" href="https://service.cocos.com/document/zh/agc-clouddb.html">
            
                    
                    云数据库（AGC）
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.4.4.14">
            
                <a target="_blank" href="https://service.cocos.com/document/zh/agc-cloudstorage.html">
            
                    
                    云存储（AGC）
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.4.4.15">
            
                <a target="_blank" href="https://service.cocos.com/document/zh/agc-cloudfunc.html">
            
                    
                    云函数（AGC）
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.4.4.16">
            
                <a target="_blank" href="https://service.cocos.com/document/zh/agc-applinking.html">
            
                    
                    App Linking（AGC）
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.4.4.17">
            
                <a target="_blank" href="https://service.cocos.com/document/zh/sdkhub.html">
            
                    
                    Cocos SDKHub
            
                <i class="exc-trigger fa"></i></a>
            

            
            <ul class="articles">
                
    
        <li class="chapter" data-level="2.4.4.17.1">
            
                <a target="_blank" href="https://service.cocos.com/document/zh/sdkhub.html">
            
                    
                    Cocos SDKHub 简介
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.4.4.17.2">
            
                <a target="_blank" href="https://service.cocos.com/document/zh/sdkhub-plugins/sdkhub-hms.html">
            
                    
                    HUAWEI HMS Core
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter expanded" data-level="2.5" data-path="./">
            
                <a href="http://docs.cocos.com/creator/manual/zh/publish/">
            
                    
                    发布跨平台游戏
            
                <i class="exc-trigger fa"></i></a>
            

            
            <ul class="articles">
                
    
        <li class="chapter" data-level="2.5.1" data-path="publish-web.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/publish/publish-web.html">
            
                    
                    发布到 Web 平台
            
                <i class="exc-trigger fa"></i></a>
            

            
            <ul class="articles">
                
    
        <li class="chapter" data-level="2.5.1.1" data-path="publish-fb-instant-games.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/publish/publish-fb-instant-games.html">
            
                    
                    发布到 Facebook Instant Games
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter" data-level="2.5.2" data-path="setup-native-development.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/publish/setup-native-development.html">
            
                    
                    安装配置原生开发环境
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.5.3" data-path="publish-native.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/publish/publish-native.html">
            
                    
                    打包发布原生平台
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.5.4" data-path="debug-jsb.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/publish/debug-jsb.html">
            
                    
                    原生平台 JavaScript 调试
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.5.5" data-path="publish-huawei-agc.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/publish/publish-huawei-agc.html">
            
                    
                    发布到 HUAWEI AppGallery Connect
            
                </a>
            

            
        </li>
    
        <li class="chapter active expanded" data-level="2.5.6" data-path="publish-android-instant.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/publish/publish-android-instant.html">
            
                    
                    发布到 Google Play Instant
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.5.7" data-path="publish-alipay-mini-games.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/publish/publish-alipay-mini-games.html">
            
                    
                    发布到支付宝小游戏
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.5.8" data-path="publish-bytedance.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/publish/publish-bytedance.html">
            
                    
                    发布到字节跳动小游戏
            
                <i class="exc-trigger fa"></i></a>
            

            
            <ul class="articles">
                
    
        <li class="chapter" data-level="2.5.8.1" data-path="publish-bytedance-sub-domain.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/publish/publish-bytedance-sub-domain.html">
            
                    
                    字节跳动小游戏开放数据域
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter" data-level="2.5.9" data-path="publish-qutoutiao-mini-games.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/publish/publish-qutoutiao-mini-games.html">
            
                    
                    发布到趣头条小游戏
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.5.10" data-path="publish-cocosplay.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/publish/publish-cocosplay.html">
            
                    
                    发布到 Cocos Play
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.5.11" data-path="publish-huawei-quick-games.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/publish/publish-huawei-quick-games.html">
            
                    
                    发布到华为快游戏
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.5.12" data-path="publish-oppo-instant-games.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/publish/publish-oppo-instant-games.html">
            
                    
                    发布到 OPPO 小游戏
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.5.13" data-path="publish-vivo-instant-games.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/publish/publish-vivo-instant-games.html">
            
                    
                    发布到 vivo 小游戏
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.5.14" data-path="publish-xiaomi-quick-games.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/publish/publish-xiaomi-quick-games.html">
            
                    
                    发布到小米快游戏
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.5.15" data-path="publish-linksure.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/publish/publish-linksure.html">
            
                    
                    发布到连尚小游戏
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.5.16" data-path="publish-baidugame.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/publish/publish-baidugame.html">
            
                    
                    发布到百度小游戏
            
                <i class="exc-trigger fa"></i></a>
            

            
            <ul class="articles">
                
    
        <li class="chapter" data-level="2.5.16.1" data-path="publish-baidugame-sub-domain.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/publish/publish-baidugame-sub-domain.html">
            
                    
                    百度小游戏开放数据域
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter" data-level="2.5.17" data-path="publish-wechatgame.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/publish/publish-wechatgame.html">
            
                    
                    发布到微信小游戏
            
                <i class="exc-trigger fa"></i></a>
            

            
            <ul class="articles">
                
    
        <li class="chapter" data-level="2.5.17.1" data-path="publish-wechatgame-sub-domain.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/publish/publish-wechatgame-sub-domain.html">
            
                    
                    微信小游戏开放数据域
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.5.17.2" data-path="wechat-engine-plugin.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/publish/wechat-engine-plugin.html">
            
                    
                    启用微信小游戏引擎插件
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.5.17.3" data-path="publish-pc-wechatgame.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/publish/publish-pc-wechatgame.html">
            
                    
                    接入微信 PC 小游戏
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.5.17.4" data-path="subpackage.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/publish/subpackage.html">
            
                    
                    小游戏分包
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter" data-level="2.5.18" data-path="publish-in-command-line.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/publish/publish-in-command-line.html">
            
                    
                    命令行发布项目
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="2.5.19" data-path="custom-project-build-template.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/publish/custom-project-build-template.html">
            
                    
                    定制项目构建模板
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    
        
        <li class="header">子系统介绍</li>
        
        
    
        <li class="chapter" data-level="3.1" data-path="../render/">
            
                <a href="http://docs.cocos.com/creator/manual/zh/render/">
            
                    
                    图像和渲染
            
                <i class="exc-trigger fa"></i></a>
            

            
            <ul class="articles">
                
    
        <li class="chapter" data-level="3.1.1" data-path="../render/core-renderer.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/render/core-renderer.html">
            
                    
                    基本图像渲染
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.1.2" data-path="../render/external-renderer.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/render/external-renderer.html">
            
                    
                    外部资源渲染
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.1.3" data-path="../render/camera.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/render/camera.html">
            
                    
                    摄像机
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.1.4" data-path="../render/material.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/render/material.html">
            
                    
                    材质资源
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.1.5" data-path="../render/effect.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/render/effect.html">
            
                    
                    Effect
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.1.6" data-path="../components/sprite.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/components/sprite.html">
            
                    
                    Sprite 组件参考
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.1.7" data-path="../components/label.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/components/label.html">
            
                    
                    Label 组件参考
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.1.8" data-path="../components/label-outline.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/components/label-outline.html">
            
                    
                    LabelOutline 组件参考
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.1.9" data-path="../components/label-shadow.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/components/label-shadow.html">
            
                    
                    LabelShadow 组件参考
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.1.10" data-path="../components/mask.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/components/mask.html">
            
                    
                    Mask 组件参考
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.1.11" data-path="../components/motion-streak.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/components/motion-streak.html">
            
                    
                    MotionStreak 组件参考
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.1.12" data-path="../components/particle-system.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/components/particle-system.html">
            
                    
                    ParticleSystem 组件参考
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.1.13" data-path="../components/tiledmap.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/components/tiledmap.html">
            
                    
                    TiledMap 组件参考
            
                <i class="exc-trigger fa"></i></a>
            

            
            <ul class="articles">
                
    
        <li class="chapter" data-level="3.1.13.1" data-path="../components/tiledtile.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/components/tiledtile.html">
            
                    
                    TiledTile 组件参考
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter" data-level="3.1.14" data-path="../components/spine.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/components/spine.html">
            
                    
                    Spine 组件参考
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.1.15" data-path="../components/dragonbones.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/components/dragonbones.html">
            
                    
                    DragonBones 组件参考
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.1.16" data-path="../components/videoplayer.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/components/videoplayer.html">
            
                    
                    VideoPlayer 组件参考
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.1.17" data-path="../components/webview.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/components/webview.html">
            
                    
                    WebView 组件参考
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.1.18" data-path="../components/graphics.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/components/graphics.html">
            
                    
                    Graphics 组件参考
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter" data-level="3.2" data-path="../ui/">
            
                <a href="http://docs.cocos.com/creator/manual/zh/ui/">
            
                    
                    UI 系统
            
                <i class="exc-trigger fa"></i></a>
            

            
            <ul class="articles">
                
    
        <li class="chapter" data-level="3.2.1" data-path="../ui/multi-resolution.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/ui/multi-resolution.html">
            
                    
                    多分辨率适配方案
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.2.2" data-path="../ui/widget-align.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/ui/widget-align.html">
            
                    
                    对齐策略
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.2.3" data-path="../ui/sliced-sprite.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/ui/sliced-sprite.html">
            
                    
                    制作可任意拉伸的 UI 图像
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.2.4" data-path="../ui/label-layout.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/ui/label-layout.html">
            
                    
                    文字排版
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.2.5" data-path="../ui/auto-layout.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/ui/auto-layout.html">
            
                    
                    自动布局容器
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.2.6" data-path="../ui/list-with-data.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/ui/list-with-data.html">
            
                    
                    制作动态生成内容的列表
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.2.7" data-path="../ui/ui-components.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/ui/ui-components.html">
            
                    
                    UI 组件参考
            
                <i class="exc-trigger fa"></i></a>
            

            
            <ul class="articles">
                
    
        <li class="chapter" data-level="3.2.7.1" data-path="../components/canvas.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/components/canvas.html">
            
                    
                    Canvas 组件参考
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.2.7.2" data-path="../components/widget.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/components/widget.html">
            
                    
                    Widget 组件参考
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.2.7.3" data-path="../components/button.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/components/button.html">
            
                    
                    Button 组件参考
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.2.7.4" data-path="../components/layout.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/components/layout.html">
            
                    
                    Layout 组件参考
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.2.7.5" data-path="../components/safearea.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/components/safearea.html">
            
                    
                    SafeArea 组件参考
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.2.7.6" data-path="../components/editbox.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/components/editbox.html">
            
                    
                    EditBox 组件参考
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.2.7.7" data-path="../components/richtext.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/components/richtext.html">
            
                    
                    RichText 组件参考
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.2.7.8" data-path="../components/scrollview.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/components/scrollview.html">
            
                    
                    ScrollView 组件参考
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.2.7.9" data-path="../components/scrollbar.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/components/scrollbar.html">
            
                    
                    ScrollBar 组件参考
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.2.7.10" data-path="../components/progress.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/components/progress.html">
            
                    
                    ProgressBar 组件参考
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.2.7.11" data-path="../components/toggle.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/components/toggle.html">
            
                    
                    Toggle 组件参考
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.2.7.12" data-path="../components/toggleContainer.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/components/toggleContainer.html">
            
                    
                    ToggleContainer 组件参考
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.2.7.13" data-path="../components/slider.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/components/slider.html">
            
                    
                    Slider 组件参考
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.2.7.14" data-path="../components/pageview.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/components/pageview.html">
            
                    
                    PageView 组件参考
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.2.7.15" data-path="../components/pageviewindicator.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/components/pageviewindicator.html">
            
                    
                    PageViewIndicator 组件参考
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.2.7.16" data-path="../components/block-input-events.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/components/block-input-events.html">
            
                    
                    BlockInputEvents 组件参考
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter" data-level="3.3" data-path="../animation/">
            
                <a href="http://docs.cocos.com/creator/manual/zh/animation/">
            
                    
                    动画系统
            
                <i class="exc-trigger fa"></i></a>
            

            
            <ul class="articles">
                
    
        <li class="chapter" data-level="3.3.1" data-path="../animation/animation.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/animation/animation.html">
            
                    
                    关于 Animation
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.3.2" data-path="../animation/animation-clip.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/animation/animation-clip.html">
            
                    
                    创建 Animation 组件和动画剪辑
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.3.3" data-path="../animation/animation-curve.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/animation/animation-curve.html">
            
                    
                    编辑动画曲线
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.3.4" data-path="../animation/sprite-animation.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/animation/sprite-animation.html">
            
                    
                    编辑序列帧动画
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.3.5" data-path="../animation/time-curve.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/animation/time-curve.html">
            
                    
                    编辑时间曲线
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.3.6" data-path="../animation/animation-event.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/animation/animation-event.html">
            
                    
                    添加动画事件
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.3.7" data-path="../animation/scripting-animation.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/animation/scripting-animation.html">
            
                    
                    使用脚本控制动画
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.3.8" data-path="../components/animation.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/components/animation.html">
            
                    
                    Animation 组件参考
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter" data-level="3.4" data-path="../audio/">
            
                <a href="http://docs.cocos.com/creator/manual/zh/audio/">
            
                    
                    音乐和音效
            
                <i class="exc-trigger fa"></i></a>
            

            
            <ul class="articles">
                
    
        <li class="chapter" data-level="3.4.1" data-path="../audio/audio.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/audio/audio.html">
            
                    
                    音频播放
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.4.2" data-path="../components/audiosource.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/components/audiosource.html">
            
                    
                    AudioSource 组件参考
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.4.3" data-path="../audio/compatibility.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/audio/compatibility.html">
            
                    
                    兼容性说明
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter" data-level="3.5" data-path="../physics/">
            
                <a href="http://docs.cocos.com/creator/manual/zh/physics/">
            
                    
                    物理与碰撞系统
            
                <i class="exc-trigger fa"></i></a>
            

            
            <ul class="articles">
                
    
        <li class="chapter" data-level="3.5.1" data-path="../physics/collision/">
            
                <a href="http://docs.cocos.com/creator/manual/zh/physics/collision/">
            
                    
                    碰撞系统
            
                <i class="exc-trigger fa"></i></a>
            

            
            <ul class="articles">
                
    
        <li class="chapter" data-level="3.5.1.1" data-path="../physics/collision/edit-collider-component.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/physics/collision/edit-collider-component.html">
            
                    
                    编辑碰撞组件
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.5.1.2" data-path="../physics/collision/collision-group.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/physics/collision/collision-group.html">
            
                    
                    碰撞分组管理
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.5.1.3" data-path="../physics/collision/collision-manager.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/physics/collision/collision-manager.html">
            
                    
                    碰撞系统脚本控制
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.5.1.4" data-path="../components/collider.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/components/collider.html">
            
                    
                    Collider 组件参考
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter" data-level="3.5.2" data-path="../physics/physics/">
            
                <a href="http://docs.cocos.com/creator/manual/zh/physics/physics/">
            
                    
                    物理系统
            
                <i class="exc-trigger fa"></i></a>
            

            
            <ul class="articles">
                
    
        <li class="chapter" data-level="3.5.2.1" data-path="../physics/physics/physics-manager.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/physics/physics/physics-manager.html">
            
                    
                    物理系统管理器
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.5.2.2" data-path="../physics/physics/rigid-body.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/physics/physics/rigid-body.html">
            
                    
                    刚体组件
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.5.2.3" data-path="../physics/physics/collider-component.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/physics/physics/collider-component.html">
            
                    
                    碰撞组件
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.5.2.4" data-path="../physics/physics/contact-callback.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/physics/physics/contact-callback.html">
            
                    
                    碰撞回调
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.5.2.5" data-path="../physics/physics/joint-component.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/physics/physics/joint-component.html">
            
                    
                    关节组件
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.5.2.6" data-path="../physics/physics/advanced-settings.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/physics/physics/advanced-settings.html">
            
                    
                    高级设置
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter" data-level="3.6" data-path="../3d/">
            
                <a href="http://docs.cocos.com/creator/manual/zh/3d/">
            
                    
                    3D 系统
            
                <i class="exc-trigger fa"></i></a>
            

            
            <ul class="articles">
                
    
        <li class="chapter" data-level="3.6.1" data-path="../3d/3d-node.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/3d/3d-node.html">
            
                    
                    3D 节点
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.6.2" data-path="../3d/3d-scene.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/3d/3d-scene.html">
            
                    
                    3D 场景
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.6.3" data-path="../3d/import-model.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/3d/import-model.html">
            
                    
                    导入模型资源
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.6.4" data-path="../3d/mesh.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/3d/mesh.html">
            
                    
                    网格资源
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.6.5" data-path="../3d/mesh-renderer.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/3d/mesh-renderer.html">
            
                    
                    Mesh Renderer 组件参考
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.6.6" data-path="../3d/skinned-mesh-renderer.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/3d/skinned-mesh-renderer.html">
            
                    
                    Skinned Mesh Renderer 组件参考
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.6.7" data-path="../3d/skeleton-animation.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/3d/skeleton-animation.html">
            
                    
                    骨骼动画组件参考
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.6.8" data-path="../3d/intersect.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/3d/intersect.html">
            
                    
                    碰撞检测
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.6.9" data-path="../3d/lighting.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/3d/lighting.html">
            
                    
                    光照
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.6.10" data-path="../3d/light-component.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/3d/light-component.html">
            
                    
                    光源组件参考
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.6.11" data-path="../3d/particle-system-3d.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/3d/particle-system-3d.html">
            
                    
                    3D 粒子
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.6.12" data-path="../3d/primitive.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/3d/primitive.html">
            
                    
                    基础 3D 物体
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter" data-level="3.7" data-path="../physics-3d/">
            
                <a href="http://docs.cocos.com/creator/manual/zh/physics-3d/">
            
                    
                    3D 物理与碰撞系统
            
                <i class="exc-trigger fa"></i></a>
            

            
            <ul class="articles">
                
    
        <li class="chapter" data-level="3.7.1" data-path="../physics-3d/physics-select.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/physics-3d/physics-select.html">
            
                    
                    设置物理引擎
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.7.2" data-path="../physics-3d/physics-manager.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/physics-3d/physics-manager.html">
            
                    
                    物理系统管理器
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.7.3" data-path="../physics-3d/physics-rigidbody.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/physics-3d/physics-rigidbody.html">
            
                    
                    刚体组件
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.7.4" data-path="../physics-3d/physics-constant-force.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/physics-3d/physics-constant-force.html">
            
                    
                    恒力组件
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.7.5" data-path="../physics-3d/physics-collider.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/physics-3d/physics-collider.html">
            
                    
                    碰撞组件
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.7.6" data-path="../physics-3d/physics-event.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/physics-3d/physics-event.html">
            
                    
                    物理事件
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.7.7" data-path="../physics-3d/physics-material.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/physics-3d/physics-material.html">
            
                    
                    物理材质
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter" data-level="3.8" data-path="../asset-manager/">
            
                <a href="http://docs.cocos.com/creator/manual/zh/asset-manager/">
            
                    
                    Asset Manager 资源管理
            
                <i class="exc-trigger fa"></i></a>
            

            
            <ul class="articles">
                
    
        <li class="chapter" data-level="3.8.1" data-path="../asset-manager/bundle.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/asset-manager/bundle.html">
            
                    
                    Asset Bundle
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.8.2" data-path="../asset-manager/release-manager.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/asset-manager/release-manager.html">
            
                    
                    资源释放
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.8.3" data-path="../asset-manager/downloader-parser.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/asset-manager/downloader-parser.html">
            
                    
                    下载与解析
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.8.4" data-path="../asset-manager/preload-load.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/asset-manager/preload-load.html">
            
                    
                    加载与预加载
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.8.5" data-path="../asset-manager/cache-manager.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/asset-manager/cache-manager.html">
            
                    
                    缓存管理器
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.8.6" data-path="../asset-manager/options.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/asset-manager/options.html">
            
                    
                    可选参数
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="3.8.7" data-path="../asset-manager/pipeline-task.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/asset-manager/pipeline-task.html">
            
                    
                    管线与任务
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    
        
        <li class="header">进阶使用</li>
        
        
    
        <li class="chapter" data-level="4.1" data-path="../extension/">
            
                <a href="http://docs.cocos.com/creator/manual/zh/extension/">
            
                    
                    扩展编辑器
            
                <i class="exc-trigger fa"></i></a>
            

            
            <ul class="articles">
                
    
        <li class="chapter" data-level="4.1.1" data-path="../extension/your-first-extension.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/extension/your-first-extension.html">
            
                    
                    你的第一个扩展包
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="4.1.2" data-path="../extension/install-and-share.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/extension/install-and-share.html">
            
                    
                    安装与分享
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="4.1.3" data-path="../extension/introduction-to-ipc.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/extension/introduction-to-ipc.html">
            
                    
                    IPC 简介
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="4.1.4" data-path="../extension/entry-point.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/extension/entry-point.html">
            
                    
                    入口程序
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="4.1.5" data-path="../extension/extension-workflow.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/extension/extension-workflow.html">
            
                    
                    扩展包工作流程模式
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="4.1.6" data-path="../extension/extends-main-menu.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/extension/extends-main-menu.html">
            
                    
                    扩展主菜单
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="4.1.7" data-path="../extension/extends-panel.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/extension/extends-panel.html">
            
                    
                    扩展编辑器面板
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="4.1.8" data-path="../extension/ipc-workflow.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/extension/ipc-workflow.html">
            
                    
                    进程间通讯工作流程
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="4.1.9" data-path="../extension/define-simple-panel.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/extension/define-simple-panel.html">
            
                    
                    定义一份简单的面板窗口
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="4.1.10" data-path="../extension/i18n.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/extension/i18n.html">
            
                    
                    多语言化
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="4.1.11" data-path="../extension/working-directory.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/extension/working-directory.html">
            
                    
                    工作路径和常用 URL
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="4.1.12" data-path="../extension/submit-to-store.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/extension/submit-to-store.html">
            
                    
                    提交插件到商店
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="4.1.13" data-path="../extension/scene-script.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/extension/scene-script.html">
            
                    
                    调用引擎 API 和项目脚本
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="4.1.14" data-path="../extension/asset-management.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/extension/asset-management.html">
            
                    
                    管理项目资源
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="4.1.15" data-path="../extension/writing-your-panel.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/extension/writing-your-panel.html">
            
                    
                    编写面板界面
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="4.1.16" data-path="../extension/using-ui-kit.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/extension/using-ui-kit.html">
            
                    
                    掌握 UI Kit
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="4.1.17" data-path="../extension/extends-ui-kit.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/extension/extends-ui-kit.html">
            
                    
                    扩展 UI Kit
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="4.1.18" data-path="../extension/layout-ui-element.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/extension/layout-ui-element.html">
            
                    
                    界面排版
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="4.1.19" data-path="../extension/work-with-vue.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/extension/work-with-vue.html">
            
                    
                    在面板中使用 Vue
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="4.1.20" data-path="../extension/extends-inspector.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/extension/extends-inspector.html">
            
                    
                    扩展 Inspector
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="4.1.21" data-path="../extension/custom-gizmo.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/extension/custom-gizmo.html">
            
                    
                    自定义 Gizmo
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="4.1.22" data-path="../extension/custom-gizmo-advance.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/extension/custom-gizmo-advance.html">
            
                    
                    自定义 Gizmo 进阶
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="4.1.23" data-path="../extension/test-your-package.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/extension/test-your-package.html">
            
                    
                    测试你的扩展包
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="4.1.24" data-path="../extension/reference/package-json-reference.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/extension/reference/package-json-reference.html">
            
                    
                    package.json 字段参考
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="4.1.25" data-path="../extension/reference/main-menu-reference.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/extension/reference/main-menu-reference.html">
            
                    
                    主菜单字段参考
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="4.1.26" data-path="../extension/reference/panel-json-reference.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/extension/reference/panel-json-reference.html">
            
                    
                    面板字段参考
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="4.1.27" data-path="../extension/reference/panel-reference.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/extension/reference/panel-reference.html">
            
                    
                    面板定义参考
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="4.1.28" data-path="../extension/reference/custom-element-reference.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/extension/reference/custom-element-reference.html">
            
                    
                    自定义界面元素定义参考
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="4.1.29" data-path="../extension/reference/ipc-reference.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/extension/reference/ipc-reference.html">
            
                    
                    常用 IPC 消息参考
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter" data-level="4.2" data-path="../advanced-topics/">
            
                <a href="http://docs.cocos.com/creator/manual/zh/advanced-topics/">
            
                    
                    进阶主题
            
                <i class="exc-trigger fa"></i></a>
            

            
            <ul class="articles">
                
    
        <li class="chapter" data-level="4.2.1" data-path="../advanced-topics/meta.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/advanced-topics/meta.html">
            
                    
                    资源管理注意事项 - meta 文件
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="4.2.2" data-path="../advanced-topics/JSB2.0-learning.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/advanced-topics/JSB2.0-learning.html">
            
                    
                    JSB 2.0 使用指南
            
                <i class="exc-trigger fa"></i></a>
            

            
            <ul class="articles">
                
    
        <li class="chapter" data-level="4.2.2.1" data-path="../advanced-topics/jsb-manual-binding.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/advanced-topics/jsb-manual-binding.html">
            
                    
                    JSB 手动绑定
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="4.2.2.2" data-path="../advanced-topics/jsb-auto-binding.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/advanced-topics/jsb-auto-binding.html">
            
                    
                    JSB 自动绑定
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter" data-level="4.2.3" data-path="../advanced-topics/hot-update.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/advanced-topics/hot-update.html">
            
                    
                    热更新范例教程
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="4.2.4" data-path="../advanced-topics/assets-manager.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/advanced-topics/assets-manager.html">
            
                    
                    热更新管理器
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="4.2.5" data-path="../advanced-topics/i18n.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/advanced-topics/i18n.html">
            
                    
                    i18n 游戏多语言支持
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="4.2.6" data-path="../advanced-topics/data-storage.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/advanced-topics/data-storage.html">
            
                    
                    存储和读取用户数据
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="4.2.7" data-path="../advanced-topics/engine-customization.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/advanced-topics/engine-customization.html">
            
                    
                    引擎定制工作流程
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="4.2.8" data-path="../advanced-topics/custom-preview-template.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/advanced-topics/custom-preview-template.html">
            
                    
                    自定义网页预览
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="4.2.9" data-path="../advanced-topics/render-flow.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/advanced-topics/render-flow.html">
            
                    
                    渲染流
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="4.2.10" data-path="../advanced-topics/ui-auto-batch.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/advanced-topics/ui-auto-batch.html">
            
                    
                    UI 渲染批次合并指南
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="4.2.11" data-path="../advanced-topics/dynamic-atlas.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/advanced-topics/dynamic-atlas.html">
            
                    
                    动态合图
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="4.2.12" data-path="../advanced-topics/java-reflection.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/advanced-topics/java-reflection.html">
            
                    
                    Java 原生反射机制
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="4.2.13" data-path="../advanced-topics/oc-reflection.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/advanced-topics/oc-reflection.html">
            
                    
                    Objective-C 原生反射机制
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="4.2.14" data-path="../submit-pr/submit-pr.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/submit-pr/submit-pr.html">
            
                    
                    如何向 Cocos 提交代码
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter" data-level="4.3" data-path="../sdk/">
            
                <a href="http://docs.cocos.com/creator/manual/zh/sdk/">
            
                    
                    SDK 集成
            
                <i class="exc-trigger fa"></i></a>
            

            
            <ul class="articles">
                
    
        <li class="chapter" data-level="4.3.1" data-path="../sdk/fb-an-and-live.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/sdk/fb-an-and-live.html">
            
                    
                    Facebook 直播和广告
            
                </a>
            

            
        </li>
    
        <li class="chapter" data-level="4.3.2" data-path="../sdk/websocket-server.html">
            
                <a href="http://docs.cocos.com/creator/manual/zh/sdk/websocket-server.html">
            
                    
                    WebSocket 服务器
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    
        
        
        
        
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com/" target="blank" class="gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>


                </nav>
            
        

    <div class="divider-content-summary"><div class="divider-content-summary__icon"><i class="fa fa-ellipsis-v"></i></div></div></div>

    <div class="book-anchor">
        <div class="book-anchor-body">
        <a id="an_发布到 Google Play Instant" class="anchor-text anchor-h1" title="发布到 Google Play Instant" href="http://docs.cocos.com/creator/manual/zh/publish/publish-android-instant.html#%E5%8F%91%E5%B8%83%E5%88%B0-google-play-instant">发布到 Google Play Instant</a><a id="an_环境配置" class="anchor-text anchor-h2" title="环境配置" href="http://docs.cocos.com/creator/manual/zh/publish/publish-android-instant.html#%E7%8E%AF%E5%A2%83%E9%85%8D%E7%BD%AE">环境配置</a><a id="an_发布流程" class="anchor-text anchor-h2" title="发布流程" href="http://docs.cocos.com/creator/manual/zh/publish/publish-android-instant.html#%E5%8F%91%E5%B8%83%E6%B5%81%E7%A8%8B">发布流程</a><a id="an_相关配置说明" class="anchor-text anchor-h3" title="相关配置说明" href="http://docs.cocos.com/creator/manual/zh/publish/publish-android-instant.html#%E7%9B%B8%E5%85%B3%E9%85%8D%E7%BD%AE%E8%AF%B4%E6%98%8E">相关配置说明</a><a id="an_分包器" class="anchor-text anchor-h2" title="分包器" href="http://docs.cocos.com/creator/manual/zh/publish/publish-android-instant.html#%E5%88%86%E5%8C%85%E5%99%A8">分包器</a><a id="an_使用方法" class="anchor-text anchor-h3" title="使用方法" href="http://docs.cocos.com/creator/manual/zh/publish/publish-android-instant.html#%E4%BD%BF%E7%94%A8%E6%96%B9%E6%B3%95">使用方法</a><a id="an_Android Studio 支持" class="anchor-text anchor-h2" title="Android Studio 支持" href="http://docs.cocos.com/creator/manual/zh/publish/publish-android-instant.html#android-studio-%E6%94%AF%E6%8C%81">Android Studio 支持</a><a id="an_Instant Cookie API" class="anchor-text anchor-h2" title="Instant Cookie API" href="http://docs.cocos.com/creator/manual/zh/publish/publish-android-instant.html#instant-cookie-api">Instant Cookie API</a><a id="an_相关参考链接" class="anchor-text anchor-h2" title="相关参考链接" href="http://docs.cocos.com/creator/manual/zh/publish/publish-android-instant.html#%E7%9B%B8%E5%85%B3%E5%8F%82%E8%80%83%E9%93%BE%E6%8E%A5">相关参考链接</a></div>
    </div>

    <div class="book-body" style="left: 300px; position: absolute;">
        
            <div class="body-inner">
                
                    <div class="page-wrapper" tabindex="-1" role="main">
                    

<div class="cocos-navbar navbar-collapse" id="navbar" role="navigation">
    <ul class="nav navbar-nav">
        <li><a href="https://cocos.com/" class="btn" target="_blank"><img src="./index_files/logo.png" height="30"></a></li>
        <li><a href="http://docs.cocos.com/creator/manual/zh/publish/publish-android-instant.html#" class="btn autohide" onclick="toggleLanguage()">English</a></li>           

    
    <li>
        <a href="http://docs.cocos.com/creator/manual/zh/publish/publish-android-instant.html#" class="btn autohide"><i class="fa fa-book"></i>Cocos Creator</a>
        <ul class="hovershow">
            
            <li><a href="https://docs.cocos.com/creator/2.4/manual/zh" class="btn">手册文档</a></li>
            
            <li><a href="https://docs.cocos.com/creator/2.4/api/zh" class="btn">API 参考</a></li>
            
        </ul>
    </li>                
    

    
    <li>
        <a href="http://docs.cocos.com/creator/manual/zh/publish/publish-android-instant.html#" class="btn autohide"><i class="fa fa-book"></i>Cocos Creator 3D</a>
        <ul class="hovershow">
            
            <li><a href="https://docs.cocos.com/creator3d/manual/zh" class="btn">手册文档</a></li>
            
            <li><a href="https://docs.cocos.com/creator3d/api/zh" class="btn">API 参考</a></li>
            
        </ul>
    </li>                
    

    
    <li>
        <a href="http://docs.cocos.com/creator/manual/zh/publish/publish-android-instant.html#" class="btn autohide"><i class="fa fa-book"></i>Cocos2d-x</a>
        <ul class="hovershow">
            
            <li><a href="https://docs.cocos.com/cocos2d-x/manual/zh" class="btn">手册文档</a></li>
            
            <li><a href="http://docs.cocos2d-x.org/api-ref/index.html" class="btn">API 参考</a></li>
            
        </ul>
    </li>                
    
    

    
    <li class="version-link">
        <a class="btn" style="color:#444">Version: <span style="font-weight:bold">2.4</span></a>
        <ul class="hovershow">
            
            <li><a href="https://docs.cocos.com/creator/3.1/manual/zh" class="btn">Version: <span style="font-weight:bold">3.1</span></a></li>
            
            <li><a href="https://docs.cocos.com/creator/3.0/manual/zh" class="btn">Version: <span style="font-weight:bold">3.0</span></a></li>
            
            <li><a href="https://docs.cocos.com/creator/2.4/manual/zh" class="btn">Version: <span style="font-weight:bold">2.4</span></a></li>
            
            <li><a href="https://docs.cocos.com/creator/2.3/manual/zh" class="btn">Version: <span style="font-weight:bold">2.3</span></a></li>
            
            <li><a href="https://docs.cocos.com/creator/2.2/manual/zh" class="btn">Version: <span style="font-weight:bold">2.2</span></a></li>
            
            <li><a href="https://docs.cocos.com/creator/2.1/manual/zh" class="btn">Version: <span style="font-weight:bold">2.1</span></a></li>
            
            <li><a href="https://docs.cocos.com/creator/2.0/manual/zh" class="btn">Version: <span style="font-weight:bold">2.0</span></a></li>
            
            <li><a href="https://docs.cocos.com/creator/1.10/manual/zh" class="btn">Version: <span style="font-weight:bold">1.10</span></a></li>
            
            <li><a href="https://docs.cocos.com/creator/1.9/manual/zh" class="btn">Version: <span style="font-weight:bold">1.9</span></a></li>
            
        </ul>
    </li>                
    
   
    </ul>
</div>
<div class="book-header" role="navigation">
    
    <!-- Title -->
    <a class="btn pull-left js-toolbar-action" aria-label="" href="http://docs.cocos.com/creator/manual/zh/publish/publish-android-instant.html#"><i class="fa fa-align-justify"></i></a><div class="dropdown pull-right js-toolbar-action"><a class="btn toggle-dropdown" aria-label="Share" href="http://docs.cocos.com/creator/manual/zh/publish/publish-android-instant.html#"><i class="fa fa-share-alt"></i></a><div class="dropdown-menu dropdown-left"><div class="dropdown-caret"><span class="caret-outer"></span><span class="caret-inner"></span></div><div class="buttons"><button class="button size-5 ">Facebook</button><button class="button size-5 ">Google+</button><button class="button size-5 ">Twitter</button><button class="button size-5 ">Weibo</button><button class="button size-5 ">Instapaper</button></div></div></div><a class="btn pull-right js-toolbar-action" aria-label="" href="http://docs.cocos.com/creator/manual/zh/publish/publish-android-instant.html#"><i class="fa fa-facebook"></i></a><a class="btn pull-right js-toolbar-action" aria-label="" href="http://docs.cocos.com/creator/manual/zh/publish/publish-android-instant.html#"><i class="fa fa-twitter"></i></a><a class="btn pull-right js-toolbar-action" aria-label="" href="http://docs.cocos.com/creator/manual/zh/publish/publish-android-instant.html#"><i class="fa fa-weibo"></i></a><div class="dropdown pull-left font-settings js-toolbar-action"><a class="btn toggle-dropdown" aria-label="Font Settings" href="http://docs.cocos.com/creator/manual/zh/publish/publish-android-instant.html#"><i class="fa fa-font"></i></a><div class="dropdown-menu dropdown-right"><div class="dropdown-caret"><span class="caret-outer"></span><span class="caret-inner"></span></div><div class="buttons"><button class="button size-2 font-reduce">A</button><button class="button size-2 font-enlarge">A</button></div><div class="buttons"><button class="button size-2 ">Serif</button><button class="button size-2 ">Sans</button></div><div class="buttons"><button class="button size-3 ">White</button><button class="button size-3 ">Sepia</button><button class="button size-3 ">Night</button></div></div></div><h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="http://docs.cocos.com/creator/manual/zh/">发布到 Google Play Instant</a>
    </h1>
</div>



                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="发布到-google-play-instant">发布到 Google Play Instant</h1>
<p>从 v2.0.4 版本开始，Cocos Creator 正式支持将游戏发布到 Google Play Instant。Google Play Instant 依赖于 Google Play，并不是一个新的分发渠道，而更接近一种游戏微端方案。它能够实现游戏的免安装即开即玩，有利于游戏的试玩、分享和转化。它和 Android Instant App 的主要区别在于：</p>
<ul>
<li>首包和 APK 附加包都限制在 10MB 以内（而不是 4MB）</li>
<li>可以从第三方 CDN 动态加载不含二进制代码的资源（JS 也可以）</li>
<li>APK 附加包只能从 Google Play Store 下载，可以包含二进制代码和资源，可以后台加载，不需要切换 activity。</li>
</ul>
<p>采用 Cocos Creator 开发的游戏，只需选择 Google Play Instant 作为发布平台，就可以自动完成标准适配工作，输出符合 Google Play Instant 技术标准的游戏。</p>
<h2 id="环境配置">环境配置<a class="anchorjs-link " href="http://docs.cocos.com/creator/manual/zh/publish/publish-android-instant.html#%E7%8E%AF%E5%A2%83%E9%85%8D%E7%BD%AE" aria-label="Anchor" data-anchorjs-icon="" style="font: 1em / 1 anchorjs-icons; padding-left: 0.375em;"></a></h2>
<ul>
<li>需要使用 Android Studio 3.0 版本及以上</li>
<li>Android Phone 6.0 及以上<br>
<strong>注意</strong>：Android SDK 版本在 6.0 到 7.0 之间的设备需要安装 Google 服务框架，SDK 版本在 8.0 以上的则不需要，可直接安装使用。</li>
<li>NDK 建议使用的版本为 <strong>r17 - r19</strong></li>
</ul>
<h2 id="发布流程">发布流程<a class="anchorjs-link " href="http://docs.cocos.com/creator/manual/zh/publish/publish-android-instant.html#%E5%8F%91%E5%B8%83%E6%B5%81%E7%A8%8B" aria-label="Anchor" data-anchorjs-icon="" style="font: 1em / 1 anchorjs-icons; padding-left: 0.375em;"></a></h2>
<ol>
<li><p>使用 Cocos Creator 打开需要发布的项目工程，从 <strong>菜单栏 -&gt; 项目</strong> 中打开 <strong>构建发布</strong> 面板，<strong>发布平台</strong> 选择 <strong>Android Instant</strong>，<strong>API Level</strong> 选择 <strong>android-26</strong> 及以上。</p>
<p> <img src="./index_files/builder.png" alt=""></p>
</li>
<li><p>如果希望直接打包而不使用分包功能的话，可以勾选 <strong>跳过录制和分包</strong>，然后直接点击 <strong>构建 -&gt; 编译 -&gt; 运行</strong>，连接手机之后即可看到 Google Play Instant 的运行效果。</p>
<p> 首次编译的话需要用 Android Studio 打开构建后的工程以下载 <strong>Google Play Instant Development SDK（windows 平台）</strong> 支持包，Mac 平台为 Instant Apps Development SDK 支持包。如果下载不成功的话建议设置一下 Android Studio 的 HTTP 代理。</p>
<p> <img src="./index_files/studio_setting.png" alt=""></p>
</li>
<li><p>如果需要进行分包操作就在 <strong>构建发布</strong> 面板点击 <strong>录制</strong>，该操作将会打开模拟器。然后进行游戏，模拟器会根据游戏流程自动记录游戏过程中使用到的资源信息。</p>
<p> <img src="./index_files/record.png" alt=""></p>
</li>
<li><p>录制完成后，点击 <strong>分包</strong>，该操作将会打开分包界面来完成分包操作。具体的分包步骤请查看下方的 <a href="http://docs.cocos.com/creator/manual/zh/publish/publish-android-instant.html#refactor">分包器</a>。</p>
</li>
<li><p>分包完成后，在 <strong>构建发布</strong> 面板中选择 <strong>分包配置路径 -&gt; ...</strong>，该步骤会打开 <strong>profiles</strong> 文件夹来选择分包记录所在的路径（分包记录保存在 <code>path_to_your_project/temp/android-instant-games/profiles</code> 目录下）。用户可以通过删除对应的文件夹来删除不需要的分包记录。</p>
<p> <img src="./index_files/refactor_record.png" alt=""></p>
</li>
<li><p>在 <strong>构建发布</strong> 面板中点击 <strong>构建</strong>，就会使用该分包记录进行首包的分割。然后点击 <strong>编译 -&gt; 运行</strong> 并确保手机跟 PC 在同一个局域网内，就可以测试游戏运行的情况了。</p>
<p> <strong>若之前已经运行过游戏，要再次运行新的项目工程，需要在手机上将之前的游戏进程关闭，否则新的项目工程会因为端口被占用而导致无法在手机上运行。</strong></p>
</li>
</ol>
<h3 id="相关配置说明">相关配置说明<a class="anchorjs-link " href="http://docs.cocos.com/creator/manual/zh/publish/publish-android-instant.html#%E7%9B%B8%E5%85%B3%E9%85%8D%E7%BD%AE%E8%AF%B4%E6%98%8E" aria-label="Anchor" data-anchorjs-icon="" style="font: 1em / 1 anchorjs-icons; padding-left: 0.375em;"></a></h3>
<p><strong>构建发布</strong> 面板中关于发布到 Google Play Instant 的几个主要配置说明如下：</p>
<ul>
<li><p><strong>主包压缩类型</strong></p>
<p>设置主包的压缩类型，具体内容可参考文档 <a href="http://docs.cocos.com/creator/manual/zh/asset-manager/bundle.html#%E5%8E%8B%E7%BC%A9%E7%B1%BB%E5%9E%8B">Asset Bundle — 压缩类型</a>。</p>
</li>
<li><p><strong>资源服务器地址</strong></p>
<p>远端资源的下载地址，可以是 CDN 地址，将 <code>path_to_your_project/build/jsb-link/remote_assets</code> 文件夹放入服务器或者 CDN 中即可，Creator 会去这个地址下载没有在首包当中的资源。<strong>注意</strong>：填写资源服务器地址时不用包含 <code>/remote_assets</code>。</p>
</li>
<li><p><strong>启动 URL</strong></p>
<p>Google Play Instant 会根据这个协议启动对应的应用和对应的 activity。该参数可为空，若不为空，当提交到 Google Store 的时候需要确保输入的 URL 是可以访问的。详情请查看 <a href="https://developer.android.google.cn/topic/google-play-instant/getting-started/first-instant-app" target="_blank">Google Instant App 文档</a>。</p>
</li>
<li><p><strong>分包配置路径</strong></p>
<p>Creator 会根据这个分包配置生成首包的资源。</p>
</li>
<li><p><strong>生成 App Bundle (Google Play)</strong></p>
<p>勾选该项后，即可将游戏打包成 App Bundle 格式用于上传到 Google Play 商店。具体请参考 <a href="https://developer.android.google.cn/guide/app-bundle/" target="_blank">官方文档</a>。</p>
</li>
</ul>
<p><strong>注意</strong>：如果 Google Play Instant 包的权限大于 Google Store 上 APP 的权限，在安装 APP 的时候可能会导致无法正常安装：</p>
<p><img src="./index_files/installation_failed.png" alt=""></p>
<h2 id="分包器">分包器<a class="anchorjs-link " href="http://docs.cocos.com/creator/manual/zh/publish/publish-android-instant.html#%E5%88%86%E5%8C%85%E5%99%A8" aria-label="Anchor" data-anchorjs-icon="" style="font: 1em / 1 anchorjs-icons; padding-left: 0.375em;"></a></h2>
<p>分包器，主要用来编辑游戏的首包，选择放入首包的资源。</p>
<p><img src="./index_files/refactor_desc.png" alt=""></p>
<h3 id="使用方法">使用方法<a class="anchorjs-link " href="http://docs.cocos.com/creator/manual/zh/publish/publish-android-instant.html#%E4%BD%BF%E7%94%A8%E6%96%B9%E6%B3%95" aria-label="Anchor" data-anchorjs-icon="" style="font: 1em / 1 anchorjs-icons; padding-left: 0.375em;"></a></h3>
<ol>
<li><p>当录制完成后，选择 <strong>分包</strong> 就会打开分包界面，如上图所示</p>
</li>
<li><p>分包器默认打开的是最新的录制记录。也可以通过 <strong>+ 打开记录</strong> 来打开之前的记录进行对比。切换不同的录制记录，下方资源的文件数量和资源大小等数据也会随着变化。</p>
<p> <img src="./index_files/refactor_multiple.png" alt=""></p>
</li>
<li><p>拖动录制记录中的 <strong>终止点</strong>，可以选择分入首包的资源。当拖动终止点时，下方文件列表的文件数量和总大小等数据也会随着变化。选择合适游戏的首包大小，即可粗略的分好首包资源。</p>
</li>
<li><p>分包器可以对所有资源进行调整。在文件列表的页面，展开各个分类的节点，可以看到对应各个文件的大小，取消 <strong>操作</strong> 的打钩就可以手动 <strong>取消</strong> 某个资源放入首包当中</p>
<p> <img src="./index_files/refactor_select.png" alt=""></p>
</li>
<li><p>如果想要把终止点之后的资源放入首包中，可以点击左下角的 <strong>+ 手动添加</strong> 选择资源添加。只需要找到对应资源并在资源后面打上勾，然后点击 <strong>添加</strong> 即可</p>
<p> <img src="./index_files/refactor_manual.png" alt=""></p>
</li>
<li><p>如果还有额外的资源需要加入首包，那么也可以从 <strong>资源管理器</strong> 面板选择资源，并拖拽进入 <strong>分包器</strong> 面板即可</p>
</li>
<li><p>分包完成之后，点击 <strong>保存</strong>。</p>
</li>
</ol>
<h2 id="android-studio-支持">Android Studio 支持<a class="anchorjs-link " href="http://docs.cocos.com/creator/manual/zh/publish/publish-android-instant.html#android-studio-%E6%94%AF%E6%8C%81" aria-label="Anchor" data-anchorjs-icon="" style="font: 1em / 1 anchorjs-icons; padding-left: 0.375em;"></a></h2>
<ul>
<li>Cocos Creator 推荐使用 Android Studio 进行编译</li>
<li>对 Android 工程的其他修改，我们可以使用 Android Studio 直接打开工程，对 Android 工程进行其他代码的集成（工程路径：<code>path_to_your_project/build/jsb-link/frameworks/runtime-src/proj.android-studio</code>）</li>
<li><p>在 Android Studio 中可以对 SDK 版本进行修改，修改路径及最低支持版本如下：</p>
<p><img src="./index_files/sdk_version.png" alt=""></p>
</li>
</ul>
<h2 id="instant-cookie-api">Instant Cookie API<a class="anchorjs-link " href="http://docs.cocos.com/creator/manual/zh/publish/publish-android-instant.html#instant-cookie-api" aria-label="Anchor" data-anchorjs-icon="" style="font: 1em / 1 anchorjs-icons; padding-left: 0.375em;"></a></h2>
<p>我们提供了一些 API 方便开发者直接调用 Google 的一些功能，目前开放了 Instant Google Cookie API，详情请前往谷歌文档查看。同时，我们也提供了 API 相关的 demo：<a href="https://github.com/wuzhiming/AndroidInstantCookieDemo" target="_blank">AndroidInstantCookieDemo</a></p>
<ul>
<li><p><code>cc.androidInstant.showInstallPrompt()</code> 请参考 Google 相关文档 <a href="https://developers.google.com/android/reference/com/google/android/gms/instantapps/InstantApps.html#showInstallPrompt(android.app.Activity,%20android.content.Intent,%20int,%20java.lang.String)" target="_blank">showInstallPrompt</a></p>
</li>
<li><p><code>cc.androidInstant.isInstantApp()</code> 请参考 Google 相关文档 <a href="https://developers.google.com/android/reference/com/google/android/gms/instantapps/PackageManagerCompat#isInstantApp%28%29" target="_blank">isInstantApp</a></p>
</li>
<li><p><code>cc.androidInstant.getInstantAppCookie()</code> 请参考 Google 相关文档 <a href="https://developers.google.com/android/reference/com/google/android/gms/instantapps/PackageManagerCompat#getInstantAppCookie%28%29" target="_blank">getInstantAppCookie</a></p>
</li>
<li><p><code>cc.androidInstant.setInstantAppCookie()</code> 请参考 Google 相关文档 <a href="https://developers.google.com/android/reference/com/google/android/gms/instantapps/PackageManagerCompat#setInstantAppCookie%28byte%5B%5D%29" target="_blank">setInstantAppCookie</a></p>
</li>
<li><p><code>cc.androidInstant.getInstantAppCookieMaxSize()</code> 请参考 Google 相关文档 <a href="https://developers.google.com/android/reference/com/google/android/gms/instantapps/PackageManagerCompat#getInstantAppCookieMaxSize%28%29" target="_blank">getInstantAppCookieMaxSize</a></p>
</li>
</ul>
<h2 id="相关参考链接">相关参考链接<a class="anchorjs-link " href="http://docs.cocos.com/creator/manual/zh/publish/publish-android-instant.html#%E7%9B%B8%E5%85%B3%E5%8F%82%E8%80%83%E9%93%BE%E6%8E%A5" aria-label="Anchor" data-anchorjs-icon="" style="font: 1em / 1 anchorjs-icons; padding-left: 0.375em;"></a></h2>
<ul>
<li><p><a href="https://developer.android.google.cn/topic/google-play-instant/getting-started/first-instant-app" target="_blank">Instant App</a></p>
</li>
<li><p><a href="https://developers.google.com/android/reference/com/google/android/gms/instantapps/InstantApps" target="_blank">Google InstantApps API</a></p>
</li>
<li><p><a href="https://github.com/googlesamples/android-instant-apps" target="_blank">Google Instant App Samples</a></p>
</li>
<li><p><a href="https://github.com/wuzhiming/AndroidInstantCookieDemo" target="_blank">CocosCreator AndroidInstantCookieDemo</a></p>
</li>
</ul>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class="search-results-count"></span> results matching "<span class="search-query"></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class="search-query"></span>"</h1>
            
        </div>
    </div>
</div>


                            
                            <div style="margin: 20px 0px 40px 0px; display: inline-block; float: right;">
                                
                                <a href="http://docs.cocos.com/creator/manual/zh/publish/publish-huawei-agc.html" class="navigation navigation-prev " aria-label="Previous page: 发布到 HUAWEI AppGallery Connect">
                                    Prev: 发布到 HUAWEI AppGallery Connect
                                </a>
                                
                                
                                <a href="http://docs.cocos.com/creator/manual/zh/publish/publish-alipay-mini-games.html" class="navigation navigation-next " aria-label="Next page: 发布到支付宝小游戏" style="margin-right: 17px;">
                                    Next: 发布到支付宝小游戏
                                </a>
                                
                            </div>
                            
                        </div>
                    </div>
                
            </div>
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"发布到 Google Play Instant","level":"2.5.6","depth":2,"next":{"title":"发布到支付宝小游戏","level":"2.5.7","depth":2,"path":"publish/publish-alipay-mini-games.md","ref":"publish/publish-alipay-mini-games.md","articles":[]},"previous":{"title":"发布到 HUAWEI AppGallery Connect","level":"2.5.5","depth":2,"path":"publish/publish-huawei-agc.md","ref":"publish/publish-huawei-agc.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-title","anchorjs","sharing","splitter","theme-default-customize@git+https://github.com/cocos-creator/theme-default.git","github-issue-feedback-language-custom@git+https://github.com/cocos-creator/gitbook-plugin-github-issue-feedback.git","expandable-chapters-small@git+https://github.com/cocos-creator/gitbook-plugin-expandable-chapters-small.git"],"styles":{"website":"./styles/website.css"},"pluginsConfig":{"splitter":{},"search":{"maxIndexSize":1000000000},"lunr":{"maxIndexSize":1000000000},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default-customize":{"showLevel":false,"styles":{"ebook":"styles/ebook.css","epub":"styles/epub.css","mobi":"styles/mobi.css","pdf":"styles/pdf.css","print":"styles/print.css","website":"styles/website.css"}},"search-title":{},"highlight":{},"expandable-chapters-small":{},"sharing":{"qq":true,"all":["facebook","google","twitter","weibo","instapaper"],"douban":false,"facebook":true,"weibo":true,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":true,"messenger":false,"line":false,"vk":false,"pocket":false,"google":false,"viber":false,"stumbleupon":false,"qzone":false,"linkedin":false},"github-issue-feedback-language-custom":{"repo":"cocos-creator/creator-docs","branch":"master"},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"anchorjs":{}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"index.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{"products":[{"name":"Cocos Creator","links":[{"name":"手册文档","link":"https://docs.cocos.com/creator/2.4/manual/zh"},{"name":"API 参考","link":"https://docs.cocos.com/creator/2.4/api/zh"}]},{"name":"Cocos Creator 3D","links":[{"name":"手册文档","link":"https://docs.cocos.com/creator3d/manual/zh"},{"name":"API 参考","link":"https://docs.cocos.com/creator3d/api/zh"}]},{"name":"Cocos2d-x","links":[{"name":"手册文档","link":"https://docs.cocos.com/cocos2d-x/manual/zh"},{"name":"API 参考","link":"http://docs.cocos2d-x.org/api-ref/index.html"}]}],"version":[{"name":"2.4","links":[{"name":"3.1","link":"https://docs.cocos.com/creator/3.1/manual/zh"},{"name":"3.0","link":"https://docs.cocos.com/creator/3.0/manual/zh"},{"name":"2.4","link":"https://docs.cocos.com/creator/2.4/manual/zh"},{"name":"2.3","link":"https://docs.cocos.com/creator/2.3/manual/zh"},{"name":"2.2","link":"https://docs.cocos.com/creator/2.2/manual/zh"},{"name":"2.1","link":"https://docs.cocos.com/creator/2.1/manual/zh"},{"name":"2.0","link":"https://docs.cocos.com/creator/2.0/manual/zh"},{"name":"1.10","link":"https://docs.cocos.com/creator/1.10/manual/zh"},{"name":"1.9","link":"https://docs.cocos.com/creator/1.9/manual/zh"}]}]},"title":"Cocos Creator","language":"zh-hans","gitbook":"*"},"file":{"path":"publish/publish-android-instant.md","mtime":"2021-05-19T18:39:03.035Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2021-05-19T18:39:05.570Z"},"basePath":"..","book":{"language":"zh"}});
        });
    </script>
</div>

        
    
    <script src="./index_files/gitbook.js.下载"></script>
    <script src="./index_files/theme.js.下载"></script>
    
        
        <script src="./index_files/jquery.mark.min.js.下载"></script>
        
    
        
        <script src="./index_files/search.js.下载"></script>
        
    
        
        <script src="./index_files/anchor.min.js.下载"></script>
        
    
        
        <script src="./index_files/anchor-style.js.下载"></script>
        
    
        
        <script src="./index_files/buttons.js.下载"></script>
        
    
        
        <script src="./index_files/splitter.js.下载"></script>
        
    
        
        <script src="./index_files/plugin.js.下载"></script>
        
    
        
        <script src="./index_files/expandable-chapters-small.js.下载"></script>
        
    
        
        <script src="./index_files/fontsettings.js.下载"></script>
        
    

    <script type="text/javascript">
    function toggleLanguage () {
            var path = location.href;
            // console.log(path);
            if (path.indexOf('/zh') !== -1) {
                path = path.replace(/\/zh[\/$\s]/i, '/en/');
            } else if (path.indexOf('/en') !== -1) {
                path = path.replace(/\/en[\/$\s]/i, '/zh/');
            }
            // console.log('after: ' + path);    
            location.assign(path);
    }
    </script>

    


<iframe frameborder="0" scrolling="no" style="background-color: transparent; border: 0px; display: none;" src="./index_files/saved_resource.html"></iframe><div id="GOOGLE_INPUT_CHEXT_FLAG" style="display: none;" input="" input_stat="{&quot;tlang&quot;:true,&quot;tsbc&quot;:true,&quot;pun&quot;:true,&quot;mk&quot;:true,&quot;ss&quot;:true}"></div><button class="gitbook-plugin-github-issue-feedback-language-custom" style="position:fixed;right:80px;bottom:20px;height:30px;z-index:999">提交反馈</button></body></html>